package cn.cs.mapper;

import cn.cs.pojo.AppOrder;
import cn.cs.pojo.UserRepairApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserRepairApplyMapper {

    public UserRepairApply getUserRepairApplyById(@Param(value = "id") String id) throws Exception;

    public List<UserRepairApply> getUserRepairApplyListByMap(Map<String, Object> param) throws Exception;

    public Integer getUserRepairApplyCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertUserRepairApply(UserRepairApply userRepairApply) throws Exception;

    public Integer updateUserRepairApply(UserRepairApply userRepairApply) throws Exception;

    public Integer deleteUserRepairApplyById(@Param(value = "id") String id) throws Exception;

    public List<Map<String, Object>> getRepairUserByAreaIdOnlyWork(@Param(value = "area") String area)throws Exception;

}
